package com.jianglin.state2.model.params;

import com.jianglin.state2.dao.entity.Message;
import com.jianglin.state2.model.core.Biom;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class MessageAddParams extends Biom<Message> {
    @NotNull
    @ApiModelProperty(value = "信息",required = true)
    private String messageInfo;

    @NotNull
    @ApiModelProperty(value = "时间",required = true)
    private Date messageDate;
}